<?php

	class MY_Controller extends CI_Controller{
		public $PLAYER_ONE = 1;
		public $PLAYER_TWO = 2;
	
		public $playerOne;
		public $playerTwo;
		public $deck;
		
		public $currentPlayer;
		public $opponentPlayer;
		
		function __construct(){
			parent::__construct();
			$this->load->library('player');
			$this->load->library('cards');
			
			$this->deck = new cards();
			
			$this->currentPlayer = new player();
			$this->opponentPlayer = new player();
			$this->playerOne = new player();
			$this->playerTwo = new player();
			
			//$this->currentPlayer->initPlayer($this->PLAYER_ONE);
			
			$this->playerOne->initPlayer($this->PLAYER_ONE);
			$this->playerTwo->initPlayer($this->PLAYER_TWO);
		}
	}
?>